package bean;

import java.util.Date;

/**
 * TravelogueComment entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TravelogueComment implements java.io.Serializable {

	// Fields

	private Integer TCmtId;
	private User user;
	private Travelogue travelogue;
	private String commentTitle;
	private String commentContent;
	private Date createdAt;

	// Constructors

	/** default constructor */
	public TravelogueComment() {
	}

	/** full constructor */
	public TravelogueComment(Integer TCmtId, User user, Travelogue travelogue,
			String commentTitle, String commentContent, Date createdAt) {
		this.TCmtId = TCmtId;
		this.user = user;
		this.travelogue = travelogue;
		this.commentTitle = commentTitle;
		this.commentContent = commentContent;
		this.createdAt = createdAt;
	}

	// Property accessors

	public Integer getTCmtId() {
		return this.TCmtId;
	}

	public void setTCmtId(Integer TCmtId) {
		this.TCmtId = TCmtId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Travelogue getTravelogue() {
		return this.travelogue;
	}

	public void setTravelogue(Travelogue travelogue) {
		this.travelogue = travelogue;
	}

	public String getCommentTitle() {
		return this.commentTitle;
	}

	public void setCommentTitle(String commentTitle) {
		this.commentTitle = commentTitle;
	}

	public String getCommentContent() {
		return this.commentContent;
	}

	public void setCommentContent(String commentContent) {
		this.commentContent = commentContent;
	}

	public Date getCreatedAt() {
		return this.createdAt;
	}

	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}

}